Skip to content

tri: say the binary is unbuilt instead of repeating t27c's error (Refs #2559) - #2563

Merged
gHashTag merged 1 commit into
masterfrom
fix/tri-hint-when-unbuilt
Aug 23, 2026
Merged

gHashTag merged 1 commit into
masterfrom
fix/tri-hint-when-unbuilt

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

Follow-up to #2561, which routed 17 subcommands to the Rust tri binary. That fix does nothing on a fresh clone: with target/ empty there is no binary to route to, so now-sync-gate's own remediation still answers unrecognized subcommand 'now' — the exact error the routing was meant to end. The case the fix missed is the first-time one.

The front door now says the binary exists, is not built, and how to build it, then falls through so t27c's error still prints. It deliberately does not claim which commands the unbuilt binary has — nothing at that point can know — so the hint reads "if '' is one". Checked against a nonsense command: it hedges rather than asserting.

On the verification. My first emulation of a fresh clone was wrong: I hid target/debug/tri and the command kept working, because target/release/tri answered. Hiding one of two binaries proves nothing. Both moved aside, the failure reproduces; both restored, routing works and the 8 shared names are byte-identical under cmp again.

Refs #2559

Routing the 17 subcommands (#2561) does nothing on a fresh clone: with
target/ empty there is no `tri` binary to route to, so the now-sync
gate's own remediation still answers `unrecognized subcommand 'now'` --
the exact error the routing fix was meant to end.

The front door now says the binary exists, is not built, and how to
build it, then falls through so t27c's error still prints. It does not
claim WHICH commands the unbuilt binary has, because nothing at that
point can know; the hint is phrased "if '<cmd>' is one".

Verified by moving BOTH binaries aside. My first attempt hid only
target/debug/tri and the command kept working, because
target/release/tri answered -- hiding one of two proves nothing.

The eight names both binaries carry are still byte-identical, cmp'd
again after this change.

Refs #2559
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-23 14:57:44 UTC

Summary

Status Count
Total Open PRs 8
PRs with Failing Checks 4
PRs with All Checks Green 4
READY 3
FAILING 4
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=e905ba8eeb53 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit 7f23273 into master Aug 23, 2026
25 of 26 checks passed
@gHashTag
gHashTag deleted the fix/tri-hint-when-unbuilt branch August 23, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant